package zut.cs.liziflower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Comments对象", description="")
public class Comments implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论id")
    @TableId(value = "commentsid", type = IdType.AUTO)
    private Integer commentsid;

    @ApiModelProperty(value = "外键，消费者id")
    private Integer userid;

    private Integer flowerid;

    @ApiModelProperty(value = "店家回复")
    private String answer;

    @ApiModelProperty(value = "消费者评价")
    private String remark;


}
